<%--
  Created by IntelliJ IDEA.
  User: Alta Y
  Date: 2019/10/1
  Time: 21:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html class="x-admin-sm">

<head>
    <meta charset="UTF-8">
    <title>查看公告信息</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="stylesheet" href="css/font.css">
    <link rel="stylesheet" href="css/xadmin.css">
    <link rel="stylesheet" href="css/admin.css">
    <script type="text/javascript" src="lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="js/xadmin.js"></script>
    <style>
        .mesTable tr td{
            font-weight: bold;
        }
    </style>
</head>

<body>
<div class="x-nav">
          <span class="layui-breadcrumb">
            <a href="">首页</a>
            <a href="">咨询中心</a>
            <a>
              <cite>查看公告</cite></a>
          </span>
    <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" onclick="location.reload()" title="刷新">
        <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
</div>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card" style="padding: 10px 0 0px 0px;">
                <div class="layui-card-body ">
                <table class="layui-table mesTable" style="margin: 0px;padding-bottom:10px;">
                    <tbody>
                    <tr>
                        <th>id</th>
                        <td>${ainfo.notify_id}</td>
                    </tr>
                    <tr>
                        <th>标题</th>
                        <td>${ainfo.title}</td>
                    </tr>
                    <tr>
                        <th>时间 </th>
                        <td><fmt:formatDate value="${ainfo.create_date}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
                    </tr>
                    <tr>
                        <th>内容</th>
                        <td>${ainfo.content}</td>
                    </tr>
                    <tr>
                        <th>状态</th>
                        <td>
                            <c:if test="${ainfo.state == 5}">待审核</c:if>
                            <c:if test="${ainfo.state == 1}">草稿</c:if>
                            <c:if test="${ainfo.state == 2}">已驳回</c:if>
                            <c:if test="${ainfo.state == 3}">审核通过</c:if>
                            <c:if test="${ainfo.state == 4}">已发布</c:if>

                        </td>
                    </tr>
                    <tr>
                        <th>审核人员</th>
                        <td>${ainfo.audit_user}</td>
                    </tr>
                    <tr>
                        <th>审核日期</th>
                        <td><fmt:formatDate value="${ainfo.audit_date}" pattern="yyyy-MM-dd HH:mm:ss" ></fmt:formatDate> </td>
                    </tr>
                    </tbody>
                </table>
                <div class="layui-row">
                    <div class="pro_form_div" style="margin: 0 auto;width: 150px;padding-bottom: 20px;padding-top: 20px;">
                        <a href="/infolist" class="layui-btn layui-btn-normal">返回</a>
                    </div>
                </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- </div> -->
</body>

</html>
